<?php

namespace app\admin\model;

use app\common\model\TimeModel;

class IntegralGoods extends TimeModel
{

    protected $name = "integral_goods";

    protected $deleteTime = "delete_time";

    
    public function storeCoupon()
    {
        return $this->belongsTo('\app\admin\model\StoreCoupon', 'coupon_id', 'id');
    }
    public function mall()
    {
        return $this->belongsTo('\app\admin\model\MallGoods', 'goods_id', 'id');
    }

    

}